﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;

// The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236

namespace WeixinSB.Control
{
    public sealed partial class RoundControl : UserControl
    {


        public int RHeight
        {
            get { return (int)GetValue(RHeightProperty); }
            set { SetValue(RHeightProperty, value); }
        }

        // Using a DependencyProperty as the backing store for RHeight.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty RHeightProperty =
            DependencyProperty.Register("RHeight", typeof(int), typeof(DottedLineControl), new PropertyMetadata(0));



        public int RWidth
        {
            get { return (int)GetValue(RWidthProperty); }
            set { SetValue(RWidthProperty, value); }
        }

        // Using a DependencyProperty as the backing store for RWidth.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty RWidthProperty =
            DependencyProperty.Register("RWidth", typeof(int), typeof(DottedLineControl), new PropertyMetadata(0));




        public int RSize
        {
            get { return (int)GetValue(RSizeProperty); }
            set { SetValue(RSizeProperty, value); }
        }

        // Using a DependencyProperty as the backing store for NHeigth.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty RSizeProperty =
            DependencyProperty.Register("RSize", typeof(int), typeof(DottedLineControl), new PropertyMetadata(0));



        public RoundControl()
        {
            this.InitializeComponent();
            this.DataContext = this;
        }
    }
}
